<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>3-2-2-导航栏的使用</title>
	<link rel="stylesheet" href="lib/lib/css/bootstrap.min.css">
</head>
<body>
	
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
	
	<div class="container">
		<div class="nav navbar-header">
			<a href="" class="nav-brand" style="font-size: 30px">logo</a>
		</div>

		<div class="collapse navbar-collapse ">
			<ul class="nav navbar-nav " id="mytab">
				<li class="active"> <a href="#" >Link</a> </li>
				<li> <a href="#">Link</a> </li>
				<li> <a href="#">Link</a> </li>
			</ul>

			<form role="search" class="nav-form navbar-left ">
				<div class="row">
					<div class="form-group col-md-10 col-sm-10">
						<input type="text" class="form-control" placeholder="搜索" >
					</div>

					<button type="submit" class="btn btn-default col-md-2 col-sm-2">搜索</button>
				</div>
			</form>
			
			<ul class="nav navbar-nav navbar-right">
				<li><a href="">Link</a></li>
				<li class="dropdown">
					<a href="#" class="dropdown-toggle" data-toggle="dropdown">
						dropdown<span class="caret"></span>
					</a>
					<ul class="dropdown-menu" role="menu">
						<li><a href="#" >hello1</a></li>
						<li><a href="#" >hello1</a></li>
						<li><a href="#" >hello1</a></li>
						<li><a href="#" >hello1</a></li>
					</ul>
				</li>
			</ul>


		</div>

	</div>
</nav>

hello
<li><li><li><li><li><li><li><li><li><li><li><li><li><li><li><li><li><li><li><li><li><li><li><li><li><li><li><li><li><li><li><li><li><li><li><li><li><li>
123

	<nav class="navbar navbar-default navbar-fixed-bottom" role="navigation">
		<ol class="breadcrumb">
			<li> <a href="#">homeX</a></li>
			<li> <a href="#">home2</a></li>
			<li> <a href="#">home3</a></li>
			<li> <a href="#">home4</a></li>
		</ol>

	</nav>



<script src="lib/jquery/jquery-1.11.0.min.js"></script>
<script src="lib/lib/js/bootstrap.min.js"></script>
<script type="text/javascript">
	
	$("#mytab").click(function(e){
		e.preventDefault()
		$(this).tab("show")
	})




</script>

</body>
</html>